package net.zjitc.dao.product;

import net.zjitc.domain.Product;

import java.util.List;

/**
 * Created by hasee on 2017/10/23.
 */
public interface ProductDao {
    List<Product> findAll();

    void removeById(String id);

    void insert(Product product);

    Product findById(String id);

    void update(Product product);

    List<Product> searchByPage(int page);

    List<Product> findByKeyword(String keyword);
}
